package test2;

import java.util.Scanner;

/**
 * @Author admin
 * @Date 2019/3/22 10:37
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("请选择想坐那种车去看电影：1--公交车  2--出租车");
        Scanner sc = new Scanner(System.in);
        int sr = sc.nextInt();
        Charge charge=Factory.getCharge(sr);
        charge.fee();
        Move move=new Move();
        move.fee();
    }
}
